package com.meilai.project.dto.app;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@ApiModel(value="请求对象-查询工单进度", description="请求对象-查询工单进度")
public class QueryWorkOrderProgressDTO {
    @NotNull(message = "工单id不能为空")
    @ApiModelProperty(value = "工单id")
    private Long work_order_id;
    @ApiModelProperty(value = "合同id")
    private Long contract_id;
    @ApiModelProperty(value = "时间段id")
    private Long date_range_id;
    @NotNull(message = "楼盘id不能为空")
    @ApiModelProperty(value = "楼盘id")
    private Long building_area_id;
    @NotNull(message = "设备类型id不能为空")
    @ApiModelProperty(value = "设备类型id")
    private Long media_type_id;
}
